package com.lee.dhsg.domain;

import java.io.Serializable;
import java.util.List;

/**
 * @author Jun
 */
public class Category implements Serializable {
    private Integer categoryid;
    private Integer fcategoryid;
    private String name;
    private String description;
    private List<Course> courseList;

    public Category() {
        super();
    }

    public Integer getCategoryid() {
        return categoryid;
    }

    public void setCategoryid(Integer categoryid) {
        this.categoryid = categoryid;
    }

    public Integer getFcategoryid() {
        return fcategoryid;
    }

    public void setFcategoryid(Integer fcategoryid) {
        this.fcategoryid = fcategoryid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public List<Course> getCourseList() {
        return courseList;
    }

    public void setCourseList(List<Course> courseList) {
        this.courseList = courseList;
    }

    @Override
    public String toString() {
        return "Category{" +
                "categoryid=" + categoryid +
                ", fcategoryid=" + fcategoryid +
                ", name='" + name + '\'' +
                ", description='" + description + '\'' +
                '}';
    }
}
